package com.hk.Mgr.web.message.kyc;

import java.math.BigDecimal;
import java.sql.Timestamp;

import com.hk.Mgr.web.message.RequestMsg;

public class CardReq extends RequestMsg{

	private static final long serialVersionUID = 1L;

	private Integer id;
	
	/**
	 * 加息率/代金券金额
	 */
	private BigDecimal rate;
	
	/**
	 * 积分规则的ID
	 */
	private Integer pointsRuleId;
	 
	/**
	 * 创建时间
	 */
	private Long cts;

	/**
	 * 创建人
	 */
	private Long creator;

	/**
	 * 卡券的类型， 1为增加利息， 2是代替本金
	 */
	private Integer type;
	
	/**
	 * 活动开始时间
	 */
	private Timestamp startDate;

	/**
	 * 活动结束时间
	 */
	private Timestamp endDate;

	/**
	 * 发放送数
	 */
	private Integer totalNum;

	/**
	 * 已领取数目
	 */
	private Integer usedNum;
	
	/**
	 * 卡券有效期截止时间
	 */
	private Timestamp expireDate;

	/**
	 * 描述内容
	 */
	private String cardDesc;
	
 
	private int version;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public Integer getUsedNum() {
		return usedNum;
	}

	public void setUsedNum(Integer usedNum) {
		this.usedNum = usedNum;
	}

	public String getCardDesc() {
		return cardDesc;
	}

	public void setCardDesc(String cardDesc) {
		this.cardDesc = cardDesc;
	}

	public Integer getPointsRuleId() {
		return pointsRuleId;
	}

	public void setPointsRuleId(Integer pointsRuleId) {
		this.pointsRuleId = pointsRuleId;
	}
	
	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public Timestamp getStartDate() {
		return startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return the expireDate
	 */
	public Timestamp getExpireDate() {
		return expireDate;
	}

	/**
	 * @param expireDate the expireDate to set
	 */
	public void setExpireDate(Timestamp expireDate) {
		this.expireDate = expireDate;
	}
}


 
